﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Remote
{
    public class ModelRemoteManageControl
    {

        // public string name { get; set; }
        /// <summary>
        /// 记录id
        /// </summary>
        public string guid { get; set; }
        public string commandName { get; set; }
        public string key { get; set; }

        /// <summary>
        /// 数据表名
        /// </summary>
        public string table { get; set; }

        /// <summary>
        /// 设备id
        /// </summary>
        public string dguid { get; set; }
        public string from { get; set; }

        public string serverCode { get; set; }
        public string content { get; set; }
    }
    public class EnumCommandName
    {
        public const string deviceCommand = "deviceCommand";
        public const string bashCommand = "sendBashCommand";
        public const string upConfigAppSetting = "upConfigAppSetting";
        public const string upGradeMQTTConfig = "upGradeMQTTConfig";
        public const string updateGradeSoftware = "updateGradeSoftware";
        public const string remote_DataSqlRequest = "remote_DataSqlRequest";
        public const string remote_DataSqlResult = "remote_DataSqlResult";
        public const string remote_DeviceCommandRequest = "remote_DeviceCommandRequest";
        public const string remote_DeviceCommandResult = "remote_DeviceCommandResult";
    }
}
